<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>串联多个操作任务</title>
</head>
<body>
<script>
  new Promise((resolve, reject) => {
    resolve('success!!')
    // reject('error')
  }).then(value => {
    console.log(value)
    console.log('222')
  }).then(value => {
    console.log(value)
  }).catch(reason => {//异常的穿透
    console.log(reason)
  })
</script>
</body>
</html>